﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using DG.Tweening;
public class TipPanelManager : MonoBehaviour
{
    public Button okBtn;
    public Text tipsText;
    // Start is called before the first frame update
    void Start()
    {
        okBtn.onClick.AddListener(delegate() {
            Destroy(this.gameObject, 0.5f);
        });
    }
    public void TipsInit(string str) {
        tipsText.text = str;
    }
    // Update is called once per frame
    void Update()
    {
        
    }
}
